<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<jsp:include page="/resources/admin/view/main/header.jsp" />

<!-- business code start -->
<div>
	<form id="frm_product" class="form-inline definewidth m20" action="index.html"
		method="get">
		<div class="definewidth m10">
		产品名称： <input type="text" name="productName" 
			class="abc input-default" placeholder="" value="">&nbsp;&nbsp;
		<button id="btn_search" type="button" class="btn btn-primary">查询</button>
		&nbsp;&nbsp;
		<button type="button" class="btn btn-success" id="addnew">添加产品</button>
		</div>
		<table class="table table-bordered table-hover definewidth m10"
			id="productTables">
			<thead>
				<tr>
					<th hidden="true">产品id</th>
					<th> </th>
					<th>产品名称</th>
					<th>位置</th>
					<th>颜色</th>
					<th>材料</th>
					<th>风格</th>
					<th>型号</th>
					<th>定制周期</th>
					<th>面积</th>
					<th>销量</th>
					<th>价格</th>
					<th>长</th>
					<th>宽</th>
					<th>高</th>
					<th>简述</th>
					<th>状态</th>
					<th>创建时间</th>
					<th>更新时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
			</tbody>
			<script id="tpl_list" type="template">
	<tr>
		<td width="10%" hidden="true">$productUuid</td>
		<td width="2%">$num</td>												
		<td width="10%">$productName</td>												
		<td width="10%">$locationName</td>
		<td width="10%">$colorName</td>
		<td width="5%">$stuffName</td>
		<td width="10%">$styleName</td>
		<td width="5%">$modelName</td>												
		<td width="5%">$customCycle</td>
		<td width="5%">$area</td>
		<td width="5%">$salesVolume</td>
		<td width="5%">$price</td>
		<td width="5%">$longs</td>												
		<td width="5%">$wide</td>
		<td width="5%">$high</td>
		<td width="10%">$description</td>
		<td width="10%">$status</td>
		<td width="10%">$createTime</td>
		<td width="10%">$updateTime</td>
		<td width="10%">$operation</td>
	</tr>
	</script>
			<!-- 							
	     <tr>
            <td>2</td>
            <td>admin</td>
            <td>管理员</td>
            <td></td>
            <td>
                <a href="edit.html">编辑</a>                
            </td>
        </tr>	
         -->
		</table>


	</form>
</div>
<div style="float: right;">
	 <ul class="pagination"  id="pagediv">
	 </ul>
	</div>
<!-- business code end -->

<jsp:include page="/resources/admin/view/main/footer.jsp" />
<script
	src="<%=request.getContextPath()%>/resources/admin/js/frame/jquery/plugins/page/jquery.twbsPagination.min.js"
	type="text/javascript"></script>
<script
	src="<%=request.getContextPath()%>/resources/admin/js/business/udwin/product/product.js"></script>
